package cn.mxb.logic.service.impl;

import java.io.IOException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;

import cn.mxb.logic.dao.LoginDAO;
import cn.mxb.logic.entity.SysUser;
import cn.mxb.logic.service.ILoginService;

@Service("loginService")
public class LoginServiceImpl implements ILoginService {

	@Autowired
	private LoginDAO loginDAO;
	@Override
	public SysUser findByProperty(String property, String value) {
		
		return loginDAO.findByProperty(property, value);
	}

	
}
